from django.contrib import admin
from spider.models import *
# Register your models here.

class product_admin(admin.ModelAdmin):
    list_display = ('id', 'name', 'url')

class booth_image_admin(admin.ModelAdmin):
    list_display = ('id', 'local_path', 'net_path', 'product')

class detail_image_admin(admin.ModelAdmin):
    list_display = ('id', 'local_path', 'net_path', 'product')

admin.site.register(Product, product_admin)
admin.site.register(BoothImage, booth_image_admin)
admin.site.register(DetailImage, detail_image_admin)